package com.hexanet.server.resources;

import java.io.InputStream;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;

@Path("/firewalls")
public class FirewallResource {
    
    @POST
    @Path("/save")
    @Consumes(MediaType.APPLICATION_JSON)
    public Response saveFirewall(@Context SecurityContext sc,
	    InputStream inputStream)
    {
	// has to be implemented 
	return Response.serverError().build();
    }

}
